package com.nbcio.demo.domain;

import java.math.BigDecimal;
import com.nbcio.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 订单子表对象 test_order_goods
 *
 * @author nbacheng
 * @date 2025-04-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("test_order_goods" )
public class TestOrderGoods extends TenantEntity {

private static final long serialVersionUID=1L;

    /**
     * 主键
     */
        @TableId(value = "id" )
    private Long id;

    /**
     * 商品编码
     */
    private String goodCode;

    /**
     * 商品名字
     */
    private String goodName;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 数量
     */
    private Long num;

    /**
     * 单品总价
     */
    private BigDecimal zongPrice;

    /**
     * 订单ID
     */
    private Long mainId;

}
